import request from '@/utils/request'
export function test() {
  return request({
    url: '/demo/demo/list',
    method: 'get',
  })
}
export function wxSend(data) {
  return request({
    url: '/message/wxSend',
    method: 'post',
	data: data
  })
}
// 登录方法
export function login(data) {
	console.log(data)
  return request({
    url: '/login',
    method: 'post',
    data: data
  })
}

// 获取用户详细信息
export function getInfo() {
  return request({
    url: '/getInfo',
    method: 'get'
  })
}

// 退出方法
export function logout() {
  return request({
    url: '/logout',
    method: 'post'
  })
}
